home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / ODF R1 examples missing include < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.3 KB  |  [TEXT/ttxt]

  1. Subject:     ODF R1 examples missing includes
  2. Sent:        6/18/96 7:36 PM
  3. Received:    6/24/96 8:26 AM
  4. From:        Harald Boettcher, 100740.477@compuserve.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. I noticed that the examples (with the execption of ODFNothing) don't compile,
  9. if precompiled headers are turned off, because a number of declarations and
  10. include files are missing. This is not so critical in itself, but it also means
  11. that projects created by PartMaker won't compile without changes.
  12.  
  13. So far I have only changed the "ODFHello" example, so that it compiles ok
  14. without precompiled headers.
  15. These are the changes:
  16.  
  17. to "content.cpp" I had to add the following lines:
  18.  
  19. // OS Includes
  20. #ifndef FWCFMRES_H
  21. #include "FWCFMres.h"
  22. #endif
  23.  
  24. #ifndef FWRESACC_H
  25. #include "FWResAcc.h"
  26. #endif
  27.  
  28. #ifndef FWRESTYP_H
  29. #include "FWResTyp.h"
  30. #endif
  31.  
  32. #ifndef FWSUSINK_H
  33. #include "FWSUSink.h"
  34. #endif
  35.  
  36. #ifndef FWBARRAY_H
  37. #include "FWBArray.h"
  38. #endif
  39.  
  40. // Found Includes
  41. #ifndef FWBUFSIN_H
  42. #include "FWBufSin.h"
  43. #endif
  44.  
  45. // Open Doc Includes
  46. #ifndef SOM_Module_OpenDoc_StdProps_defined
  47. #include <StdProps.xh>
  48. #endif
  49.  
  50. #ifndef SOM_ODStorageUnit_xh
  51. #include <StorageU.xh>
  52. #endif
  53.  
  54.  
  55. To "content.h" I added:
  56.  
  57. #ifndef FWSTRING_H
  58. #include "FWString.h"
  59. #endif
  60.  
  61.  
  62. Harald Boettcher
  63. Hamburg
  64.